package com.Jano.mapper;


import com.Jano.entity.OperationLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OperationLogMapper {

    /**
     * 插入Log日志
     * @param operationLog
     * @return
     */
    @Insert("insert into OperationLog(id,userId,username,operation,time,method,params,ip,createTime) " +
            "values(#{id},#{userId},#{username},#{operation},#{time},#{method},#{params},#{ip},#{createTime})")
    Boolean InsertOperationLog(OperationLog operationLog);
}
